package com.boot.project.service;

import com.boot.project.domain.UserDO;
import com.boot.project.domain.UserInfoDo;

import java.util.List;
import java.util.Map;

public interface UserService {
    UserDO selectByOpenId(String open_id);

    int updateById(UserDO userDO);

    Boolean insert(UserDO userDO);

    UserInfoDo userInfo(String openId);

    Map<String, Object> updateUserInfo(UserInfoDo userInfoDo);

    Long getIdByOpenId(String openId);

    Map<String, Object> updateIntegral(Long userId, Double integral);

    List<UserDO> allUsers();

    Integer getWorkUser(String openId);

    UserDO userBalanceAndIntegral(String openId);

    Map<String, Object> saveMobile(Long mobile, String openId);
}
